<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<meta content="" charset="UTF-8">
<html>
<head>
    <title>古丽巴格镇中心校网站</title>
    <script src="__PUBLIC__/Js/jquery-1.4a2.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/Js/jquery.KinSlideshow-1.1.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/massege.css">
    <script type="text/javascript">
        window.onload = function() {

            //内容部分长度多少就左边部分长度就多少，左边部分默认长度2202px
            var lists =document.getElementById('lists').offsetHeight;
            var left_main =document.getElementById('left_main');
            if(lists+14>2202){
                left_main.style.height=(lists+14)+'px';
            }else{
                left_main.style.height=2202+'px';
            }
        }

    </script>
<body>
<!--header start-->
<div class="header">
    <img id="banner" src="__UPLOAD_PIC__/<?php echo (C("web_logo")); ?>">
    <div class="menu_bar">
        <ul id="nav">
            <li><a href="<?php echo U(GROUP_NAME.'/Index/index');?>">网站首页</a></li>
            <?php if(is_array($cate)): foreach($cate as $k=>$v): if($v['name'] != '家校互动'): ?><li><a href=""><?php echo ($v['name']); ?></a>
                        <ul>
                            <?php if(is_array($v["child"])): foreach($v["child"] as $kk=>$ch): ?><li><a href="<?php echo U(GROUP_NAME.'/Content/lists',array('p_id'=>$v['id'],'p_cat_name'=>$v['en_name'],'cat_name'=>$ch['en_name']));?>"><?php echo ($ch['name']); ?></a></li><?php endforeach; endif; ?>
                        </ul>
                    </li>
                    <?php else: endif; endforeach; endif; ?>
        </ul>
    </div>
</div>
<!--header end-->

<!--body start-->
<div class="body">
    <!--左边-->
    <div class="left_main" id="left_main">
        <!--在线办事，成绩查询-->
        <div id="a_link">
    <div id="link_top">
        <div id="link_logo"></div>
        <p>快速服务</p>
    </div>
    <div id="link_bottom">
        <p><span></span><a href="<?php echo U(GROUP_NAME.'/Search/find');?>">成绩查询</a></p>
        <p><span></span><a href="<?php echo U(GROUP_NAME.'/Ask/index');?>">在线办事</a></p>
    </div>
</div>

        <!--本月热门-->
        <div id="hot">
    <div id="hot_top">
        <div id="hot_logo"></div>
        <p>本月热门</p>
    </div>
    <div id="hot_bottom">
        <?php if(is_array($ri_men)): foreach($ri_men as $k=>$v): ?><p><a href="<?php echo U(GROUP_NAME.'/Content/show',array('id'=>$v['id']));?>"><?php echo ($v["con_title"]); ?></a></p><?php endforeach; endif; ?>
    </div>
</div>
        <!--行政办公-->
        <div id="email">
    <div id="email_top">
        <div id="email_logo"></div>
        <p>行政办公</p>
    </div>
    <div id="email_bottom">
        <div id="xiao">
            <a href="<?php echo U(GROUP_NAME.'/Index/sendmail',array('level'=>1));?>"><img src="__UPLOAD_PIC__/<?php echo (C("school_master_pic")); ?>"></a>
            <p><span>邮箱:</span><span><?php echo (C("school_master_email")); ?></span></p>
            <p><span>地址:</span><span><?php echo (C("school_master_addres")); ?></span></p>
            <p><span>电话:</span><span><?php echo (C("school_master_phone")); ?></span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo U(GROUP_NAME.'/Index/sendmail',array('level'=>1));?>">写信</a></p>
        </div>
        <div id="shu">
            <a href="<?php echo U(GROUP_NAME.'/Index/sendmail',array('level'=>2));?>"><img src="__UPLOAD_PIC__<?php echo (C("school_secretary_pic")); ?>"></a>
            <p><span>邮箱:</span><span><?php echo (C("school_secretary_email")); ?></span></p>
            <p><span>地址:</span><span><?php echo (C("school_secretary_addres")); ?></span></p>
            <p><span>电话:</span><span><?php echo (C("school_secretary_phone")); ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo U(GROUP_NAME.'/Index/sendmail',array('level'=>2));?>">写信</a></span>
        </div>
    </div>
</div>
        <!--最下面花案-->
        <div class="the_bottom"></div>
    </div>
    <!--内容框-->
    <div class="lists" id="lists">
        <div id="lists_title">
            <div id="lists_icon"></div>
            <p>在线办事</p>
        </div>

        <div id="lists_content">
            <div id="position">
                <p>
                    <span>您现在的位置:</span>
                    <span>&nbsp;&nbsp;首页</span>
                    <span>>>家校互动</span>
                    <span>>>在线办事</span>
                </p>
            </div>
            <div id="list_frame">
                <?php if(is_array($message)): foreach($message as $key=>$v): ?><div class="con_f">
                    <div class="ask_con"><?php echo ($v["ask_content"]); ?></div>
                    <div class="replay_con">
                        <?php echo ($v["mes_replay"]); ?>
                    </div>
                    <p><soan><?php echo ($v["replayer_name"]); ?></soan><soan>&nbsp;发表于</soan>&nbsp;<soan><?php echo ($v["replay_time"]); ?></soan></p>
                </div><?php endforeach; endif; ?>
                <!--留言解答-->
                <div id="s_c">
                    <form action="<?php echo U(GROUP_NAME.'/Ask/word'),'','';?>" method="post">
                        <p>留言解答</p>
                        <textarea rows="10" name="text" ></textarea>
                        <input type="submit" value="提交">
                    </form>
                </div>
            </div>
            <div id="page_num">
                <div id="num_frame">
                    <?php echo ($page); ?>
                </div>
            </div>
        </div>
    </div>
    <!--友情链接-->
    <div class="link">
    <div class="link_bar"><span>友情链接</span></div>
    <table>
        <tr style="">
            <?php if(is_array($you_qing_lian_jie_01)): foreach($you_qing_lian_jie_01 as $key=>$v): ?><td><a href="<?php echo ($v["lin_url"]); ?>" target="_blank"><img style="padding: 2px; width: 88px; height: 31px" title="<?php echo ($v["title"]); ?>"  src="__UPLOAD_LIN_IMG__<?php echo ($v["lin_img"]); ?>"/></a></td><?php endforeach; endif; ?>
        </tr>
        <tr>
            <?php if(is_array($you_qing_lian_jie_02)): foreach($you_qing_lian_jie_02 as $key=>$v): ?><td><a href="<?php echo ($v["lin_url"]); ?>" target="_blank"><img style="padding: 2px;width: 88px; height: 31px" title="<?php echo ($v["title"]); ?>"  src="__UPLOAD_LIN_IMG__<?php echo ($v["lin_img"]); ?>"/></a></td><?php endforeach; endif; ?>
        </tr>
    </table>
</div>
</div>
<!--body end-->

<!--footer start-->
<div class="footer" style="margin-top: 30px">
    <p><?php echo (C("ICP_INFO")); ?> </p><p> 技术支持：<?php echo (C("VERIFY_INFO")); ?> </p>
    <p> 地址：<?php echo (C("SCHOOL_ADDRESS")); ?>  电话：<?php echo (C("SCHOOL_PHONE")); ?></p>
</div>
<!--footer end-->
</body>
</html>